Skip to content

fix(release): isolate unqualified default contract cutovers - #8952

Merged
huangruiteng merged 1 commit into
mainfrom
codex/runtime-default-contract-gate-20261117
Nov 18, 2026
Merged

huangruiteng merged 1 commit into
mainfrom
codex/runtime-default-contract-gate-20261117

Conversation

@loopx-agent

@loopx-agent loopx-agent commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Goal And Delivered Outcome

主干已启用 C1 默认入口。Runtime 和 Desktop 的公开分发需要验证实际制品支持的默认契约。工程构建仍可完成,公开发布在执行远端操作前拒绝缺证、不匹配或未支持的默认契约。更新入口继续核对制品身份,历史 v1 描述符保持可读。

修复与最新主干集成时的一处模块导入冲突,并将 Desktop 采用检查放在实际公开制品和更新 feed 的构建路径。普通预览、只读发布预检和 Runtime 工程资格继续产出可测制品。新的 stable 候选必须在上传前验证默认契约。复用现有制品元数据、解包、安全验证和真实普通 quota 入口。原 C1 工作

Author Declaration

  • Written by model_agent, OpenAI Codex.
  • Tested revision 621b7b602751ca58795970246f3cbdb9db22271d on main f9bb5e3cf9185de77a2f7580d64eaf9d32f46eff.
  • Production contract basis is RFC §9 and the existing release and update owners. C1 default runtime behavior, historical recovery and the active writer retain their existing paths.

Validation

Scope Result
Exact Runtime archive Real isolated install, reinstall, doctor, skills, installed HTTP and activation-failure recovery passed. The ordinary CLI reported C1. The actual main publisher rejected this archive and its engineering receipt before the stubbed GitHub boundary received any call. The stable producer also refused it.
Exact Desktop archive Ordinary packaging passed on macOS. The actual Desktop update and release workflow commands inspected the archive and refused public adoption. The signed native installers and Windows hosts remain untested locally.
Published compatibility Downloaded and digest-verified the public 2.3.0 runtime archive. It still reports the supported ordinary quota default and its historical descriptor remains readable.
Local verification 218 focused tests and 13 subtests passed, with 3 platform-gated skips. Changed-file Ruff, configured mypy, Desktop release workflow smoke, bilingual RFC and current exact-scope quality receipt passed.

The standard local premerge gate passed all 6 direct and 19 selected checks on the exact revision. The current main moved to a61777e6bb973604b2a41c840cb977fda843abb9 during validation. Its merge preview remained conflict-free with the same 13 changed paths. The original exact-head review applies to the previous revision.

Public Channel Readback

The current main runtime archive at f9bb5e3cf9185de77a2f7580d64eaf9d32f46eff was already distributed with the C1 default before this proposal. Its markerless v1 descriptor remains readable. The published Desktop main tag linked by the active feed resolves to the same source. This patch gates future distribution. The existing main-channel artifact still needs an explicit recovery or an original §9 qualification. The stable release and PyPI read back as 2.3.0. Published main runtime artifact, Desktop main release, Stable release

The original matched outcomes, complete costs and supported-profile requirements remain open. The native release and actual 2.3.0-to-2.4.0 continuation are separate checks. Original revision review

Frontend And Visual Evidence

No UI layout or first-screen behavior changes. The validation concerns the archived runtime and existing distribution paths.

@loopx-agent loopx-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer: model_agent; gpt-6.1-sol; OpenAI; runtime_reported; reasoning_effort=max

Approval conclusion (author-owned PR; GitHub blocks formal self-approval)

动机 / Motivation

维护者发布运行时制品,或用户从既有渠道更新时,需要防止尚未取得采用资格的新默认工作契约被自动分发。 原来安装、升级等工程检查全绿即可让主干发布器放行,即使实际默认 writer 已切换;现在先观察真实源码的 writer,并拒绝未支持的契约或不匹配的观察。 当前支持的普通 quota packet 制品仍可构建、安装、升级和失败恢复;五类原先会放行的不合格声明或观察现在都在任何 GitHub 调用前停止。 本切片不证明 C1 的模型成果或完整成本收益,不切换当前安装,不新增生产者,也不退役历史读取器。 完整契约的原单会话匹配成果、完整成本和支持 profile 的采用资格,仍由既有 C1 工作完成;正式发行和原生 Windows 资格也未由本次源码评审完成。

改动思路 / Approach

复用现有制品兼容性 owner 和安全解包器即可覆盖真实分发入口;Python 只承担专用构建、安装和观测 IO,不复制 Core 决策。 本 PR 交付分发隔离和可恢复的现有支持范围,完整 C1 采用与正式发行仍由原工作流验收。 新字段是分发支持声明,不能单凭声明证明源码行为。运行时资格检查读取真正安装的源码,桌面检查真正归档的源码;两者沿既有隔离 Goal 调用实际普通 quota CLI,关闭 context delivery,再由同一校验器判断是否属于现有支持范围。main 发布器把观察与不可变描述符核对后,才可开始 GitHub IO;stable 构建也调用同一资格入口。

这比只写文档更能阻止实际分发,也比增加“已资格化”布尔值或第二套模型评价框架更小。下表来自同一输入的实际 publisher base/head 对照;GitHub 由文件系统 peer 替代,Bash、Python guard 和归档/资格检查为真实执行。

输入 base 当前 head
支持的 ordinary quota scope 成功发布和回放 成功发布和回放
缺少契约、未知/C1 契约、观察缺失或不匹配 五类均放行 五类均在任何 GitHub 调用前拒绝
安装资格失败或归档字节改变 拒绝且远端不变 相同拒绝边界

具体改动 / Changes

审查完整 base ef099ae3ac3c08054b9d928fff48aefe2615b950 到 head 4f07ba3107d5a170e8e3c879ec8b8c9e0e2ae9e2 的十文件差异(+215/-6),并检查未修改的 stable workflow 与 standalone bootstrap。规范依据 spec_ref: docs/architecture/rfcs/controller-executor-unified-contract-v0.md,spec_revision: ef099ae,预先读取第 7/9 节、C1/C9、独立切片条款及 release-readiness 的既有发布门。以下标签对应原文条款而非新增规范:distribution-adoption-separation、real-default-source、historical-readers-and-recovery 在本切片 implemented;matched-outcomes-and-full-cost deferred 至原 C1 采用资格,不能由本评审替代。

关键代码讲解

  1. validate_default_contract 用完整字典相等校验支持的 surface 与两个 schema 字段,不按源码文本、标题或错误字符串判断。validator 复用现有制品元数据 owner;发布器对缺失观察也明确拒绝。
  2. observe_default_contract 清除宿主 LoopX 配置、绑定实际导入源码、构造隔离原始 Goal 并调用真实 CLI;有限时并在 finally 清理 effect runtime。实际 eb21cab8e2f2030348100cbc349f41c075bec998 归档观察为 complete_turn,被支持校验器拒绝,未运行模型或改动活动 Goal。
  3. install_artifact 在下载前验证新声明,在 installer 前核对归档 contract identity。历史 v1 描述符省略字段仍可读取;新 publisher 却不能用省略字段取得资格。这是兼容历史恢复与新分发资格的不同边界。
  4. desktop build 复用安全解包器检查实际归档,观察/支持检查通过后才产生 identity;没有用脏工作区文件猜测归档内容。runtime builder 同样绑定源提交和制品字节,原 checksum、immutable asset 与回放规则保留。

对主干的风险 / Risks

最强风险是过度阻断历史恢复,或把声明当成实际源码证据。当前头保留历史 v1 读取,支持范围仍可真实安装和恢复;新的不支持声明在下载前停止,归档身份不匹配在激活前停止。没有修改普通 quota writer、显式 complete-contract opt-in、当前安装、历史 capture/plan/envelope/journal reader,或任何生产 lease/receipt。未来支持范围扩展仍须原采用证据,不能删除 validator 或增加绕过布尔值来换取发布。

本轮 PASS:六个受影响及 companion 模块共 199 passed / 3 平台限制 skipped;同一 publisher 夹具 16 次 base/head 执行;同一精确提交的真正 runtime archive 经隔离 clean install、upgrade、doctor、skills、真实 HTTP 全部 bundle 内容和 activation-failure restore;实际 Desktop archive 构建;实际 C1 源归档拒绝;六文件 Ruff、配置范围 mypy17、双语 RFC 与公开边界。python -S 下新 publisher import 亦通过,不依赖额外包安装。3 个平台跳过不冒充 native Windows 通过。

初始 quick 与完整 standard 的执行检查分别全部通过,但本地质量门因当前 worktree 缺 exact-scope CQR 而保持拒绝;独立审完最终十路径后已记录原生 CQR,最终 standard gate 已读回通过:6 项 direct、19 项 selected 全部执行,零失败/警告;保留初始 hold。作者披露的额外 strict-mypy17 错误和未改 dashboard audit5high,本轮没有重跑,不把作者的 base 归因或这些失败写成独立通过。它们也不能被本次 scoped 通过解释为完整发行资格。未查询、轮询或等待 CI。

语义与 CI 对齐

这是现有 artifact 词汇中的局部支持范围扩展;共享 Core 语义 owner 未迁移。新增强制拒绝只在新制品资格和声明的 acquisition 边界生效,不把可用性、工程全绿或 candidate 存在误作默认激活。paired RFC 保留同单会话成果/完整成本、supported-profile、显式 opt-in 和历史读取/回退顺序。既有正例与原失败类同输入对照证明没有以修复一次 bypass 为由误封全部发布。

我的整体评价 / Verdict

APPROVE 当前完整精确头 4f07ba3107d5a170e8e3c879ec8b8c9e0e2ae9e2,未发现本切片阻塞问题;这是 justified_increment。long_horizon=preserved:支持的原始继续、身份及失败恢复保留,未宣称实测长期效率收益。user_experience=accepted_tradeoff:现有支持路径没有新增必需交互,不合格默认分发按原规范停止,并保留可用恢复入口。复用现有制品兼容性 owner 和安全解包器即可覆盖真实分发入口;Python 只承担专用构建、安装和观测 IO,不复制 Core 决策。 本 PR 交付分发隔离和可恢复的现有支持范围,完整 C1 采用与正式发行仍由原工作流验收。

未修改渲染页面、布局或控件,视觉检查不适用。unverified_scope:原生 Windows、完整安装后的 Desktop UI、实际公开发行及真实模型采用/完整成本;未由本次源码或隔离制品验证替代。短期保留历史描述符兼容有明确消费者,进一步抽象 probe 或新增状态没有必要。本结论以同一作者账号的 COMMENTED 承载,独立 closeout、readiness、合并授权和正式分发仍须分别核对。

English verdict: APPROVE at 4f07ba3. Actual supported runtime/Desktop artifacts and recovery pass; the production publisher now rejects five previously accepted unsafe contract cases before GitHub IO. C1 model outcomes/full costs, native Windows and public release remain unqualified by this review.

@mergify

mergify Bot commented Nov 18, 2026

Copy link
Copy Markdown

This pull request has merge conflicts with main and cannot be merged
until they are resolved. Please rebase or merge the base branch, @loopx-agent.

Choose the remote for the base repository, not an out-of-date fork.
For a fork clone, first inspect git remote -v; upstream must point
to https://github.com/loopx-project/loopx.git. If it is absent, add it
with git remote add upstream https://github.com/loopx-project/loopx.git.
Then run:

git fetch upstream
git rebase upstream/main
# Resolve each conflict, git add the resolved files, then git rebase --continue.
git push --force-with-lease origin HEAD

For a same-repository clone whose origin points to
https://github.com/loopx-project/loopx.git, use origin instead of
upstream for fetch/rebase. If you prefer merging the base, use
git merge <base-remote>/main and push normally.

Keep the DCO Signed-off-by trailer on every commit when you rebase.
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

@mergify mergify Bot added needs-rebase Mergify: the pull request has merge conflicts with its base branch and removed needs-rebase Mergify: the pull request has merge conflicts with its base branch labels Nov 18, 2026
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: huangruiteng <huangrt01@163.com>
@huangruiteng
huangruiteng force-pushed the codex/runtime-default-contract-gate-20261117 branch from 621b7b6 to a5a18df Compare November 18, 2026 08:51

@huangruiteng huangruiteng left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer: model_agent; GPT-5 Codex; OpenAI; self_reported; reasoning_effort=high

Approval conclusion (author-owned PR; GitHub blocks formal self-approval)

动机 / Motivation

发布维护者和从 main 更新 Runtime/Desktop 的用户,需要在真实制品默认 writer 已切换到未完成适用资格的新契约时得到明确阻断。改动前,安装、升级、doctor、skills 和恢复检查全部通过就可能把源码中的默认切换带到公开渠道;即使 RFC 仍要求先完成 C1 的同单会话成果、完整成本和受支持 profile 对照,工程安装成功也不会自动满足该比较。现在发布器先观察真实默认 writer,再要求它以完整三元组匹配不可变描述符,complete_turn 在资格完成前会被拒绝,而缺失契约字段的历史 v1 描述符仍可读取和恢复。

这个切片改善的是分发边界,不声称完成 C1 成果或成本资格,不改变普通 quota writer,也不退役历史 decoder。剩余缺口:原 RFC 第 9 节的真实对照、受支持 profile 采用和正式发行验收。因此它是可独立审查和回滚的 justified_increment。

可观察结果:72 passed;真实隔离 CLI 在 base 和 head 都观察为 complete_turn,head 在发布前拒绝,远端状态保持不变。非目标:不切换普通 writer、不宣称 C1 成果或成本、不退役历史 reader、不执行 hosted 发布或原生 Windows 验证。

Before/after:改动前,安装和归档检查全绿仍可能发布未资格化的默认 writer;改动后,真实 CLI 观察到 complete_turn 时会在 GitHub 写入前拒绝。支持范围仍为 quota_packet,历史 v1 描述符仍可读取。

改动思路 / Approach

实现继续使用现有三层 owner:

边界 Owner 当前行为
真实默认观察 observe_default_contract 在隔离临时目录、原始 fixture Goal、context-delivery=off 下调用实际 CLI,不读取开发者状态
支持范围判断 validate_default_contract 以完整 typed dictionary 比较 surface 与两个 schema 字段,不做字符串前缀或标题判断
分发与安装 publisher、desktop builder、install_artifact 观察、不可变描述符和归档 identity 必须一致;任一缺失或不匹配都在远端写入或激活前停止

这不是第二套模型评价框架,也没有新增持久状态。新的 default_contract 是制品兼容性声明,其权威输入仍是实际 CLI 输出;支持策略集中在已有 update_artifact owner,真实观察属于 release qualification IO,构建器和发布器继续作为适配器。历史描述符省略字段时保持可读,新发布路径则要求字段存在,从而区分“恢复老制品”和“授权新分发”。

当前 PR 边界只阻止未资格化默认分发并绑定制品身份,不完成 C1 采用,也不退役旧 writer 路径。真实观察属于 release qualification IO,构建器和发布器继续作为适配器。

具体改动 / Changes

关键代码讲解

  1. validate_default_contract 只接受当前的 quota_packet 支持范围,整字典相等比较避免单个字段或未知附加字段被误认作同一 profile。validate_manifest 仅在字段存在时调用它,保留历史 v1 读取;install_artifact 在下载前执行 manifest 校验,并在 installer 前比较归档内 identity。
  2. observe_default_contract 清理宿主 LOOPX_*、Codex session 与 Git 环境,绑定实际导入的源码根,构造隔离 fixture 后调用 quota should-run。成功输出必须属于原始 fixture Goal,最后清理 effect runtime;不运行模型,不触碰活动 Goal。
  3. publish guard 在任何 gh mutation 前同时检查安装 qualification、manifest 声明和 observed contract。Desktop 的同类检查解包真实归档,而不是相信脏工作区文件。
  4. 最后的 exact-head 修复让真实探测测试明确断言:当前 main 默认是 complete_turn / loopx_turn_envelope_v1,它必须被支持范围拒绝。这里没有把新默认加白名单来换取绿色,而是证明 PR 的核心保护没有被测试数据掩盖。

规范依据是 docs/architecture/rfcs/controller-executor-unified-contract-v0.md,spec_revision 为 65ae1d6ec05d0594947a7a47e1e2fc7d7b304e86。C1-cutover-qualification 要求先完成原 quota 单会话成果与完整成本比较,本 PR 的 disposition 是 deferred,后继仍是原 C1 采用工作;C9-default-promotion-gate 要求采用和退役由分范围证据决定,本 PR 的 disposition 是 implemented,真实 writer 与支持范围不符时阻止公开发布。

对主干的风险 / Risks

最强反向风险是过度阻断:一次支持范围切换可能让所有新发布停止,或者历史恢复被新字段误伤。验证覆盖了缺失字段、未知 profile、当前 C1 profile、metadata/observation 不匹配和归档 identity 不匹配;这些输入都保持 GitHub peer 状态不变。历史描述符省略 default_contract 的读取路径仍通过,新字段存在时不匹配则在下载或激活前停止。

另一个风险仍是把安装资格误写成模型成果资格。文档和代码错误信息都明确要求原 C1 outcome/full-cost 与 supported-profile 证据;本次没有宣称该比较已通过。当前源码的真实默认探测在 base 65ae1d6e 与 head a5a18df8 都观察为 complete_turn,因此发布保持关闭是预期的安全结果。

本轮没有阻塞 finding。PASS:tests/test_runtime_snapshot_publication.py 与 tests/test_update_artifact.py 共 72 passed;Ruff、配置范围 mypy、git diff --check 和双语 RFC diff check 通过。真实探测测试不仅检查产物,还调用真实隔离 CLI 并确认当前默认被拒绝。最强剩余验证缺口是实际 hosted release 与原生 Desktop/Windows 发布路径;这不影响本切片对源码分发边界的判定,但在提供 hosted 制品和正式发布证据前不能声称这些外部边界已验证。未查询、轮询或等待 CI。

语义与 CI 对齐

这是已有 artifact manifest 词汇的局部扩展,复用 update_artifact、现有 installer、release workflow 与 Desktop 构建 owner,没有迁移控制面共享语义。disabled/default-off 指普通安装、显式 complete-contract opt-in、context-delivery 配置和历史恢复保持原 owner;新 gate 只在验证新制品能否进入公开分发时生效。CLI 输出内容没有计划或结算语义变化,因此工作指引与机器义务的映射保持原样。

我的整体评价 / Verdict

当前精确 head a5a18df8e8e97ff0421e71e821ac43a11908eb38 解决了一个真实且可复现的发布安全问题:工程安装成功不再被误当作新默认契约的采用资格。长期连续性 preserved:失败时旧渠道和可安装版本保留,历史 v1 仍可恢复,未来资格完成后再扩展支持 profile;用户影响是 accepted_tradeoff:公开候选会在证据不足时明确停止,而不是静默分发未资格化 writer。视觉检查 not applicable,因为没有修改页面、首屏或控件。

没有发现新的阻塞问题;残余风险是 hosted Release、签名 Desktop 与原生 Windows 路径尚未在本轮执行,不能由本地隔离测试替代。

English verdict: APPROVE at a5a18df; no blocking finding. The real isolated CLI observes the current C1 default and the public support gate rejects it, while supported quota artifacts and historical descriptors remain recoverable. Hosted releases and native Desktop/Windows remain unverified.

@huangruiteng huangruiteng left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer: model_agent; GPT-5 Codex; OpenAI; self_reported; reasoning_effort=high

Approval conclusion (author-owned PR; GitHub blocks formal self-approval)

动机 / Motivation

发布维护者和从 main 更新 Runtime/Desktop 的用户,需要在真实制品默认 writer 已切换到未完成适用资格的新契约时得到明确阻断。改动前,安装、升级、doctor、skills 和恢复检查全部通过就可能把源码中的默认切换带到公开渠道;即使 RFC 仍要求先完成 C1 的同单会话成果、完整成本和受支持 profile 对照,工程安装成功也不会自动满足该比较。现在发布器先观察真实默认 writer,再要求它以完整三元组匹配不可变描述符,complete_turn 在资格完成前会被拒绝,而缺失契约字段的历史 v1 描述符仍可读取和恢复。

这个切片改善的是分发边界,不声称完成 C1 成果或成本资格,不改变普通 quota writer,也不退役历史 decoder。剩余缺口:原 RFC 第 9 节的真实对照、受支持 profile 采用和正式发行验收。因此它是可独立审查和回滚的 justified_increment。

可观察结果:72 passed;真实隔离 CLI 在 base 和 head 都观察为 complete_turn,head 在发布前拒绝,远端状态保持不变。非目标:不切换普通 writer、不宣称 C1 成果或成本、不退役历史 reader、不执行 hosted 发布或原生 Windows 验证。

Before/after:改动前,安装和归档检查全绿仍可能发布未资格化的默认 writer;改动后,真实 CLI 观察到 complete_turn 时会在 GitHub 写入前拒绝。支持范围仍为 quota_packet,历史 v1 描述符仍可读取。

改动思路 / Approach

实现继续使用现有三层 owner:

边界 Owner 当前行为
真实默认观察 observe_default_contract 在隔离临时目录、原始 fixture Goal、context-delivery=off 下调用实际 CLI,不读取开发者状态
支持范围判断 validate_default_contract 以完整 typed dictionary 比较 surface 与两个 schema 字段,不做字符串前缀或标题判断
分发与安装 publisher、desktop builder、install_artifact 观察、不可变描述符和归档 identity 必须一致;任一缺失或不匹配都在远端写入或激活前停止

这不是第二套模型评价框架,也没有新增持久状态。新的 default_contract 是制品兼容性声明,其权威输入仍是实际 CLI 输出;支持策略集中在已有 update_artifact owner,真实观察属于 release qualification IO,构建器和发布器继续作为适配器。历史描述符省略字段时保持可读,新发布路径则要求字段存在,从而区分“恢复老制品”和“授权新分发”。

当前 PR 边界只阻止未资格化默认分发并绑定制品身份,不完成 C1 采用,也不退役旧 writer 路径。真实观察属于 release qualification IO,构建器和发布器继续作为适配器。

具体改动 / Changes

关键代码讲解

  1. validate_default_contract 只接受当前的 quota_packet 支持范围,整字典相等比较避免单个字段或未知附加字段被误认作同一 profile。validate_manifest 仅在字段存在时调用它,保留历史 v1 读取;install_artifact 在下载前执行 manifest 校验,并在 installer 前比较归档内 identity。
  2. observe_default_contract 清理宿主 LOOPX_*、Codex session 与 Git 环境,绑定实际导入的源码根,构造隔离 fixture 后调用 quota should-run。成功输出必须属于原始 fixture Goal,最后清理 effect runtime;不运行模型,不触碰活动 Goal。
  3. publish guard 在任何 gh mutation 前同时检查安装 qualification、manifest 声明和 observed contract。Desktop 的同类检查解包真实归档,而不是相信脏工作区文件。
  4. 最后的 exact-head 修复让真实探测测试明确断言:当前 main 默认是 complete_turn / loopx_turn_envelope_v1,它必须被支持范围拒绝。这里没有把新默认加白名单来换取绿色,而是证明 PR 的核心保护没有被测试数据掩盖。

规范依据是 docs/architecture/rfcs/controller-executor-unified-contract-v0.md,spec_revision 为 65ae1d6ec05d0594947a7a47e1e2fc7d7b304e86。C1-cutover-qualification 要求先完成原 quota 单会话成果与完整成本比较,本 PR 的 disposition 是 deferred,后继仍是原 C1 采用工作;C9-default-promotion-gate 要求采用和退役由分范围证据决定,本 PR 的 disposition 是 implemented,真实 writer 与支持范围不符时阻止公开发布。

对主干的风险 / Risks

最强反向风险是过度阻断:一次支持范围切换可能让所有新发布停止,或者历史恢复被新字段误伤。验证覆盖了缺失字段、未知 profile、当前 C1 profile、metadata/observation 不匹配和归档 identity 不匹配;这些输入都保持 GitHub peer 状态不变。历史描述符省略 default_contract 的读取路径仍通过,新字段存在时不匹配则在下载或激活前停止。

另一个风险仍是把安装资格误写成模型成果资格。文档和代码错误信息都明确要求原 C1 outcome/full-cost 与 supported-profile 证据;本次没有宣称该比较已通过。当前源码的真实默认探测在 base 65ae1d6e 与 head a5a18df8 都观察为 complete_turn,因此发布保持关闭是预期的安全结果。

本轮没有阻塞 finding。PASS:tests/test_runtime_snapshot_publication.py 与 tests/test_update_artifact.py 共 72 passed;Ruff、配置范围 mypy、git diff --check 和双语 RFC diff check 通过。真实探测测试不仅检查产物,还调用真实隔离 CLI 并确认当前默认被拒绝。最强剩余验证缺口是实际 hosted release 与原生 Desktop/Windows 发布路径;这不影响本切片对源码分发边界的判定,但在提供 hosted 制品和正式发布证据前不能声称这些外部边界已验证。未查询、轮询或等待 CI。

语义与 CI 对齐

这是已有 artifact manifest 词汇的局部扩展,复用 update_artifact、现有 installer、release workflow 与 Desktop 构建 owner,没有迁移控制面共享语义。disabled/default-off 指普通安装、显式 complete-contract opt-in、context-delivery 配置和历史恢复保持原 owner;新 gate 只在验证新制品能否进入公开分发时生效。CLI 输出内容没有计划或结算语义变化,因此工作指引与机器义务的映射保持原样。

我的整体评价 / Verdict

当前精确 head a5a18df8e8e97ff0421e71e821ac43a11908eb38 解决了一个真实且可复现的发布安全问题:工程安装成功不再被误当作新默认契约的采用资格。长期连续性 preserved:失败时旧渠道和可安装版本保留,历史 v1 仍可恢复,未来资格完成后再扩展支持 profile;用户影响是 accepted_tradeoff:公开候选会在证据不足时明确停止,而不是静默分发未资格化 writer。视觉检查 not applicable,因为没有修改页面、首屏或控件。

没有发现新的阻塞问题;残余风险是 hosted Release、签名 Desktop 与原生 Windows 路径尚未在本轮执行,不能由本地隔离测试替代。

English verdict: APPROVE at a5a18df; no blocking finding. The real isolated CLI observes the current C1 default and the public support gate rejects it, while supported quota artifacts and historical descriptors remain recoverable. Hosted releases and native Desktop/Windows remain unverified.

@huangruiteng
huangruiteng merged commit 09d0fa1 into main Nov 18, 2026
13 of 21 checks passed
@huangruiteng
huangruiteng deleted the codex/runtime-default-contract-gate-20261117 branch November 18, 2026 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants